package com.longyi.admin.service;

import com.longyi.admin.entity.ChartPie;
import com.longyi.admin.entity.Menu;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.longyi.admin.entity.User;

import java.util.List;

/**
* <p>
    * 菜单 服务类
    * </p>
*
* @author 龙毅
* @since 2025-08-27
*/
public interface MenuService extends IService<Menu> {

IPage PageList(IPage<Menu> page, Wrapper wrapper);
    List<ChartPie> menutype();

    List<Menu> tree(List<Menu> list);

    List<Menu> getUserMenu(User user, List<Long> menuIds);
}
